import { createRequest } from '/@/api/service';
const module = 'ib/base/v1/SysDictRegionApi/';

/**
 * @function 行政区域查询
 * @param data
 * @param header
 * @returns {Promise}
 */
function SYS_DICT_REGION_QUERY(
  data: SysDictRegionApi.SysDictRegionQueryReq,
  header: object = {},
): Promise<SysDictRegionApi.SysDictRegionQueryResp> {
  return createRequest(
    `${process.env.APP_API_URL}${module}sysDictRegionQuery`,
    data,
    header,
    'POST',
  );
}

export { SYS_DICT_REGION_QUERY };
